#pragma once
#include "GLDrawable.h"
class GLLineRender : public GLDrawable
{
	using Super = GLDrawable;

public:
	using Super::Super;

public:
	void				  initVAO();
	void				  updateData();
	void				  updateDataByIndex(int index);
	void				  paint(QOpenGLShaderProgram* program, const QMatrix4x4& mvpMat);
	const RenderDataLine& renderData() const
	{
		return mRenderDataLine;
	}
	RenderDataLine& renderData()
	{
		return mRenderDataLine;
	}

private:
	RenderDataLine mRenderDataLine;
};
